home *** CD-ROM | disk | FTP | other *** search
- Path: telepost.no!usenet
- From: Carsten Arnholm <ca@sesam.dnv.no>
- Newsgroups: comp.lang.c++
- Subject: Default workspace & project settings in MS Visual C++ 4.0
- Date: 8 Feb 1996 15:58:40 GMT
- Organization: DNV
- Message-ID: <4fd6jg$9j1@nms.telepost.no>
- NNTP-Posting-Host: hugin.sesam.dnv.no
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1 (Windows; I; 32bit)
-
- Hi everyone,
-
-
- Problem:
- How do I control the default Workspace & project settings in Visual C++
- 4.0, i.e. the definitions that may be manually changed under
- a) Build -> Settings ...
- b) Tools -> Options ...
-
- Description:
- I have number of libraries that require a specific configuration via
-
- - Build -> Settings, C/C++ tab, Category:General, Preprocessor Definitions
- - Tools -> Options, Directories tab, Include Files
- - Build -> Settings, Link tab, Category:General, Object/Library Modules
- - Tools -> Options, Directories tab, Library Files
-
- etc.
-
- These have to be defined manually for EVERY new project (even within the
- same workspace). This is extremely tedious and error prone.
-
-
- I want to:
- Define a number of globally defined default project configurations that I
- could refer to by name whenever a new Project Workspace is created.
- Each default configuration would define default Build Settings and
- Tools Options so this would not have to be done manually.
-
- As an example, I would like to be able to define a configuration called
- GRAPHICS which would define all settings and options, so I could just
- compile and link my graphics applications without worrying about the
- configuration all the time. I would also need to have GRAPHICS2, GRAPHICS3,
- GRAPHICS4, etc. configurations which would refer to other versions of the
- same libraries.
-
- And: It must be easy to switch between configurations.
-
- Question:
- How can I best accomplish this using MS Visual C++ 4.0 ?
- - Are there some features in MS Visual C++ 4.0 to help me ?
- - Could I define a template *.MAK file that will simulate such a feature ?
- - Can I control the default settings in the Registry or somewhere else ?
-
- I would be greatful if you could help me with this problem, and especially if
- you could copy your reply to my e-mail address: ca@sesam.dnv.no
-
- Thanks,
- Carsten Arnholm
-
-